avatardir = $(datadir)/ereseva/avatars

avatar_FILES = \
	96x96/beach.png \
	96x96/bridge.png \
	96x96/rubber-duck.png \
	96x96/sign.png

install-data-local:
	for icon in $(avatar_FILES); do \
		SIZE=`echo $$icon | cut -d/ -f1`; \
		FILE=`echo $$icon | cut -d/ -f2`; \
		$(mkinstalldirs) $(datadir)/ereseva/avatars; \
		$(INSTALL_DATA) $(srcdir)/$$icon $(datadir)/ereseva/avatars/$$FILE; \
	done

	$(INSTALL_DATA) $(srcdir)/default.mru.txt $(datadir)/ereseva/avatars/default.mru.txt

DISTCLEANFILES = Makefile.in

EXTRA_DIST = \
	$(avatar_FILES) \
	default.mru.txt
